package cn.wolfcode.shop.vo;

import cn.wolfcode.shop.domain.SeckillGood;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * 秒杀商品的vo， 要包含商品和秒杀商品的字段，通过继承，再复制另一个实体类的字段
 */
@Getter
@Setter
public class SeckillGoodVO extends SeckillGood{
    private String goodName;
    private String goodTitle;
    private String goodImg;
    private String goodDetail;
    private BigDecimal goodPrice;
    private Integer goodStock;
}
